package com.rybbaby.tss.front.tssStatistics.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * //@description  顾问业绩统计
 * 
 * //@author 雷春琼
 * 
 * //@createDate 2017-08-10 上午12:25:24
 */
//@Entity
//@Table(name = "view_consultant_statistics")
//@DynamicUpdate(true)
//@DynamicInsert(true)
public class ViewConsultancyStatistics implements Serializable {


	private static final long serialVersionUID = -816389986119396718L;
	/** 主键 顾问id **/
	private String id;
	/** 顾问姓名 **/
	private String realName;
	/** 分配学员数 **/
	private Long distributionNum;
	/** 新报人数 **/
	private Long addedNumber;
	/** 退费人数 **/
	private Long refundNumber;
	/** 新报业绩 **/;
	private Double sumAdded;
	/** 续报业绩 **/;
	private Double sumRenewal;
	/** 退费金额 **/;
	private Double sumRefund;
	/** 业绩合计 **/;
	private Double sumPerformance;
	/** 签约率 **/;
	private String attendanceRate;
	/** 课时包缴费最大时间 **/
	private java.sql.Timestamp packageCreateTime;
	/** 课时包退费最大时间**/
	private java.sql.Timestamp refundCreateTime;




	/**
	 * 方法: 取得主键
	 *
	 * //@return java.lang.String 主键
	 */
	//@Id
	//@GeneratedValue(generator = "view_consultant_statisticsIDGenerator" , strategy = GenerationType.AUTO)
	//@GenericGenerator(name = "view_consultant_statisticsIDGenerator" , strategy = "uuid")
	//@Column(name = "id", nullable= false, length = 32)
	public String getId() {
		return this.id;
	}
	
	/**
	 * 方法: 设置主键
	 *
	 * //@param id 主键
	 */
	public void setId(String id) {
		this.id = id;
	}
	

	//@Column(name = "realName", nullable= true, length = 32)
	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	//@Column(name = "distributionNum", nullable= true, length = 32)
	public Long getDistributionNum() {
		return distributionNum;
	}

	public void setDistributionNum(Long distributionNum) {
		this.distributionNum = distributionNum;
	}

	//@Column(name = "addedNumber", nullable= true, length = 32)
	public Long getAddedNumber() {
		return addedNumber;
	}

	public void setAddedNumber(Long addedNumber) {
		this.addedNumber = addedNumber;
	}

	//@Column(name = "refundNumber", nullable= true, length = 32)
	public Long getRefundNumber() {
		return refundNumber;
	}

	public void setRefundNumber(Long refundNumber) {
		this.refundNumber = refundNumber;
	}

	//@Column(name = "sumAdded", nullable= true, length = 32)
	public Double getSumAdded() {
		return sumAdded;
	}

	public void setSumAdded(Double sumAdded) {
		this.sumAdded = sumAdded;
	}

	//@Column(name = "sumRenewal", nullable= true, length = 32)
	public Double getSumRenewal() {
		return sumRenewal;
	}

	public void setSumRenewal(Double sumRenewal) {
		this.sumRenewal = sumRenewal;
	}

	//@Column(name = "sumRefund", nullable= true, length = 32)
	public Double getSumRefund() {
		return sumRefund;
	}

	public void setSumRefund(Double sumRefund) {
		this.sumRefund = sumRefund;
	}

	//@Transient
	public Double getSumPerformance() {
		return sumPerformance;
	}

	public void setSumPerformance(Double sumPerformance) {
		this.sumPerformance = sumPerformance;
	}

	//@Transient
	public String getAttendanceRate() {
		return attendanceRate;
	}

	public void setAttendanceRate(String attendanceRate) {
		this.attendanceRate = attendanceRate;
	}

	//@Column(name = "maxPackageCreateTime", nullable= true, length = 32)
	public Timestamp getPackageCreateTime() {
		return packageCreateTime;
	}

	public void setPackageCreateTime(Timestamp packageCreateTime) {
		this.packageCreateTime = packageCreateTime;
	}

	//@Column(name = "maxRefundCreateTime", nullable= true, length = 32)
	public Timestamp getRefundCreateTime() {
		return refundCreateTime;
	}

	public void setRefundCreateTime(Timestamp refundCreateTime) {
		this.refundCreateTime = refundCreateTime;
	}



}